<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
    <title>请假一览</title>
    <meta name="decorator" content="default"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript">
        function page(n,s){
            $("#pageNo").val(n);
            $("#pageSize").val(s);
            $("#searchForm").submit();
            return false;
        }
    </script>
</head>
<body>
<form:form id="searchForm" modelAttribute="xiaoqu" action="${ctx}/homelink/favorite" method="post" class="breadcrumb form-search">
    <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
    <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
    <div style="margin-top:8px;">
        <label>小区名称：</label>
        <input name="xiaoquname" htmlEscape="false" maxlength="50" class="input-medium" />
        &nbsp;<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
    </div>
</form:form>
<sys:message content="${message}"/>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
    <thead><tr>
        <th>编号</th>
        <th>小区名称</th>
        <th>城区</th>
        <th>区域</th>
        <th>成交地址</th>
        <th>基本信息</th>
    </tr></thead>
    <tbody>
    <c:forEach items="${page.list}" var="xiaoqu">
        <tr>
            <td>${xiaoqu.bianhao}</td>
            <td><a href="${ctx}/homelink/detail?xiaoqubianhao=${xiaoqu.bianhao}">${xiaoqu.xiaoquname}</a></td>
            <td><a href="${ctx}/homelink/regionb?regionb=${xiaoqu.regionb}">${xiaoqu.regionb}</a></td>
            <td><a href="${ctx}/homelink/regions?regions=${xiaoqu.regions}">${xiaoqu.regions}</a></td>
            <td><a target="_blank" href="${xiaoqu.chengjiaolink}">查询成交</a></td>
            <td>${xiaoqu.baseinfo}</td>
        </tr>
    </c:forEach>
    </tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>
